import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
	state: {
		intentionCar: {},
		carsConfig:{},
		tabIndex:9999,
		addClueFormData:{}
	},
	mutations: {
		changeIntentionCar(state, provider) {
			state.intentionCar = provider
		},
		selectCarsConfig(state,config){
			state.carsConfig=config
		},
		changeTabIndex(state, data) {
			state.tabIndex = data
		},
		addClueFormData(state,data){
			state.addClueFormData=data
		}
	},
})

